<?xml version="1.0" encoding="UTF-8"?>
	<!-- 
			配置文件说明
	index				事件索引
	code 				事件代码			通过文件命名确定模块起始数字，每一级加多三位，例：1,1001,1000001
	name 				事件名称
	isValid				事件是否有效标识    1：有效   0：无效
	type				事件类型                        0：授权   1：非授权  2：访问
	dataSource			事件所需数据库      必须要和ibatis.config.xml配置文件中的environment id属性值完全一致
	dataHandleBean      事件
	isTransaction		事件是否支持事物    1：支持   0：不支持
	beforeExecuteCode	事件前执行 写code  ,可以为空  ,多个code可以用","分隔(aop相关)  含上下文关系
	iniEvent			事件初始化执行事件  例：com.framework.mySelect{roleInfo=sqlID|userInfo=sqlID}
	                     roleInfo 存入对象 sqlID 对应该前结果集所需SQLID ，若需要多个语句执行则以逗号链接即可！
	defaultEvent		事件默认执行事件   例：同上
	extendEvent			事件扩展事件		例：同上
	afterExecuteCode    事件的后执行 写code 可以为空 ,多个code可以用","分隔 (aop相关)  含上下文关系
	icon				事件对应图标		images/common/001.gif
	directName			事件跳转页面            
	imitationStep		事件步骤代码			注：全局唯一。
	-->
<permissions>
	<permission>
		<index>sys_mgr</index>
		<code>001</code>
		<parentCode>0</parentCode>
		<name>系统管理</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent></defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon></icon>
		<directName></directName>
		<imitationStep>sys_mgr_step_1</imitationStep>
	</permission>
	<permission>
		<index>sys_org_mgr</index>
		<code>001001</code>
		<parentCode>001</parentCode>
		<name>机构管理</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.SelectListEvent{org.select_org_all}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon></icon>
		<directName>framework/system/org/orgList.jsp</directName>
		<imitationStep>sys_org_mgr_step_1</imitationStep>
	</permission>
	<permission>
		<index>sys_org_create</index>
		<code>001001001</code>
		<parentCode>001001</parentCode>
		<name>创建</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.InsertEvent{org.insert}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/004.gif</icon>
		<directName>framework/system/org/orgCreate.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_org_modify</index>
		<code>001001002</code>
		<parentCode>001001</parentCode>
		<name>修改</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent>com.framework.listener.event.impl.SelectOneEvent{orgInfo=org.select_org_by_code}</initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.UpdateEvent{org.update}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/004.gif</icon>
		<directName>framework/system/org/orgModify.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_org_delete</index>
		<code>001001003</code>
		<parentCode>001001</parentCode>
		<name>删除</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.DeleteEvent{org.delete}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/109.gif</icon>
		<directName>framework/system/org/orgDelete.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_org_search</index>
		<code>001001004</code>
		<parentCode>001001</parentCode>
		<name>查询</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.SelectListEvent{org.select_org_by_cond}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/216.gif</icon>
		<directName>framework/system/org/orgList.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_org_detail</index>
		<code>001001005</code>
		<parentCode>001001</parentCode>
		<name>详细</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent>com.framework.listener.event.impl.SelectOneEvent{orgInfo=org.select_org_by_code}</initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent></defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/089.gif</icon>
		<directName>framework/system/org/orgDetail.jsp</directName>
		<imitationStep></imitationStep>
	</permission>	
	<permission>
		<index>sys_role_mgr</index>
		<code>001002</code>
		<parentCode>001</parentCode>
		<name>角色管理</name>
		<isValid>1</isValid>
		<type>2</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.SelectListEvent{role.select_all}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon></icon>
		<directName>framework/system/role/roleList.jsp</directName>
		<imitationStep>sys_role_mgr_step_1</imitationStep>
	</permission>	
	<permission>
		<index>sys_role_create</index>
		<code>001002001</code>
		<parentCode>001002</parentCode>
		<name>创建</name>
		<isValid>1</isValid>
		<type>2</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.InsertEvent{role.insert}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/004.gif</icon>
		<directName>framework/system/role/roleCreate.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_role_modify</index>
		<code>001002002</code>
		<parentCode>001002</parentCode>
		<name>修改</name>
		<isValid>1</isValid>
		<type>2</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent>com.framework.listener.event.impl.SelectOneEvent{roleInfo=role.select_role_by_id}</initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.UpdateEvent{role.update}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/004.gif</icon>
		<directName>framework/system/role/roleModify.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_role_delete</index>
		<code>001002003</code>
		<parentCode>001002</parentCode>
		<name>删除</name>
		<isValid>1</isValid>
		<type>2</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.DeleteEvent{role.delete}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/109.gif</icon>
		<directName>framework/system/role/roleDelete.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_role_search</index>
		<code>001002004</code>
		<parentCode>001002</parentCode>
		<name>查询</name>
		<isValid>1</isValid>
		<type>2</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.SelectOneEvent{role.select_role_by_name}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/216.gif</icon>
		<directName>framework/system/role/roleList.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_role_detail</index>
		<code>001002005</code>
		<parentCode>001002</parentCode>
		<name>详细</name>
		<isValid>1</isValid>
		<type>2</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent>com.framework.listener.event.impl.SelectOneEvent{roleInfo=role.select_role_by_id}</initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent></defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/089.gif</icon>
		<directName>framework/system/role/roleDetail.jsp</directName>
		<imitationStep></imitationStep>
	</permission>	
	<permission>
		<index>sys_role_grant</index>
		<code>001002006</code>
		<parentCode>001002</parentCode>
		<name>授权</name>
		<isValid>1</isValid>
		<type>2</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>1</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.module.event.sysmgr.RolePermissionMapEvent{rolepms.delete|rolepms.insert|rolepms.select_role_select_mapper}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/392.gif</icon>
		<directName>framework/system/role/roleGrant.jsp</directName>
		<imitationStep>sys_role_grant_step</imitationStep>
	</permission>		
	<permission>
		<index>sys_user_mgr</index>
		<code>001003</code>
		<parentCode>001</parentCode>
		<name>用户管理</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.PaginationListEvent{user.select_user_page|user.select_user_page_count}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon></icon>
		<directName>framework/system/user/userList.jsp</directName>
		<imitationStep>sys_user_mgr_step_1</imitationStep>
	</permission>
	<permission>
		<index>sys_user_create</index>
		<code>001003001</code>
		<parentCode>001003</parentCode>
		<name>创建</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent></defaultEvent>
		<extendEvent>com.module.event.sysmgr.UserCreateEvent{user.insert}</extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/004.gif</icon>
		<directName>framework/system/user/userCreate.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_check_account</index>
		<code>001003001001</code>
		<parentCode>001003001</parentCode>
		<name>检测用户名</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent></defaultEvent>
		<extendEvent>com.framework.listener.event.impl.SelectOneEvent{user.check_account}</extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon></icon>
		<directName></directName>
		<imitationStep>login_step_1</imitationStep>
	</permission>
	<permission>
		<index>sys_user_modify</index>
		<code>001003002</code>
		<parentCode>001003</parentCode>
		<name>修改</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent>com.framework.listener.event.impl.SelectOneEvent{userInfo=user.select_user_by_id}</initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.UpdateEvent{user.update}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/004.gif</icon>
		<directName>framework/system/user/userModify.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_user_delete</index>
		<code>001003003</code>
		<parentCode>001003</parentCode>
		<name>删除</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.DeleteEvent{user.delete}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/109.gif</icon>
		<directName>framework/system/user/userDelete.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_user_search</index>
		<code>001003004</code>
		<parentCode>001003</parentCode>
		<name>查询</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.PaginationListEvent{user.select_user_page|user.select_user_page_count}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/216.gif</icon>
		<directName>framework/system/user/userList.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_user_detail</index>
		<code>001003005</code>
		<parentCode>001003</parentCode>
		<name>详细</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent>com.framework.listener.event.impl.SelectOneEvent{userInfo=user.select_user_by_id}</initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent></defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/089.gif</icon>
		<directName>framework/system/user/userDetail.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_user_bind</index>
		<code>001003006</code>
		<parentCode>001003</parentCode>
		<name>角色绑定</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.module.event.sysmgr.UserRoleMapEvent{userRole.delete|userRole.insert}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/089.gif</icon>
		<directName>framework/system/user/userBind.jsp</directName>
		<imitationStep>sys_user_bind_step</imitationStep>
	</permission>
		
	<!--***************操作日志功能开始**************** -->		
	<permission>
		<index>sys_operate_log</index>
		<code>001006</code>
		<parentCode>001</parentCode>
		<name>操作日志</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.PaginationListEvent{operateLog.select_ol_page|operateLog.select_ol_page_count}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon></icon>
		<directName>framework/system/log/logList.jsp</directName>
		<imitationStep>sys_operate_log_step_1</imitationStep>
	</permission>
	<permission>
		<index>sys_ol_delete</index>
		<code>001006001</code>
		<parentCode>001006</parentCode>
		<name>删除</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.DeleteEvent{operateLog.delete}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/109.gif</icon>
		<directName>framework/system/log/logDelete.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_ol_search</index>
		<code>001006002</code>
		<parentCode>001006</parentCode>
		<name>查询</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.PaginationListEvent{operateLog.select_ol_page|operateLog.select_ol_page_count}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/216.gif</icon>
		<directName>framework/system/log/userList.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<permission>
		<index>sys_ol_export</index>
		<code>001006003</code>
		<parentCode>001006</parentCode>
		<name>导出</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent>com.framework.listener.event.impl.DownloadEvent{operateLog.select_ol_export}</defaultEvent>
		<extendEvent></extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon>images/common/044.gif</icon>
		<directName>framework/system/log/logExport.jsp</directName>
		<imitationStep></imitationStep>
	</permission>
	<!--***************操作日志功能结束**************** -->	
	<permission>
		<index>sys_password_modify</index>
		<code>001007</code>
		<parentCode>001</parentCode>
		<name>密码修改</name>
		<isValid>1</isValid>
		<type>1</type>
		<dataSource>MYSQL_datasource</dataSource>
		<dataHandleBean></dataHandleBean>
		<initEvent></initEvent>
		<isTransaction>0</isTransaction>
		<beforeExecuteCode></beforeExecuteCode>
		<defaultEvent></defaultEvent>
		<extendEvent>com.module.event.sysmgr.PasswordModifyEvent{user.password_modify}</extendEvent>
		<afterExecuteCode></afterExecuteCode>
		<icon></icon>
		<directName>framework/system/user/userModifyOneselfPwd.jsp</directName>
		<imitationStep>sys_password_modify_step</imitationStep>		
	</permission>
</permissions>
